package com.ysynzehao.bean;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * niuzehao
 * 2018/11/30 14:48.
 */
@Data
//@Component
@ConfigurationProperties(prefix = "user")
public class User {

    private String userId;

    private String userName;

    private String password;

    private int age;

    private String address;

}
